package basicclass_wstatic;
class Data {
	private String name; public static int id = 5;
	public Data(){ name = "Hollie"; }
	public Data(String n){ name = n; }
	public String toString(){ return "[ " + name +", " + id + " ]"; }
}
public class Ex {
	public static void main(String[] args) {
		Data john = new Data("John");
		System.out.println( john );
		Data connor = new Data("Connor");
		connor.id = 6;
		System.out.println( connor );		
		System.out.println( john );
		Data caitlin = new Data("Caitlin");
		System.out.println( caitlin );
	}
}
